package com.hall.service;

import com.hall.pojo.common.Result;
import com.qcloud.cos.COSClient;
import com.qcloud.cos.auth.BasicCOSCredentials;
import com.qcloud.cos.auth.COSCredentials;
import org.springframework.context.annotation.Bean;
import org.springframework.util.IdGenerator;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

public interface TencentCosService {
    Result upload(MultipartFile file, String appointment_id,String user_id, String report_id, String report_time, String clientfilename, String clientfiletype, String filepath, HttpServletRequest request);
    Result download(String path);
    String previewFile(String path);
    String delete();
}


